package com.iteaj.iot.plc.melsec;

import com.iteaj.iot.plc.PlcClientMessage;
import com.iteaj.iot.plc.omron.OmronMessageBody;

public class MelsecMessage extends PlcClientMessage {

    public MelsecMessage(byte[] message) {
        super(message);
    }

    public MelsecMessage(MelsecMessageHeader head) {
        super(head);
    }

    public MelsecMessage(MelsecMessageHeader head, MelsecMessageBody body) {
        super(head, body);
    }

    @Override
    protected MessageHead doBuild(byte[] message) {
        return new MelsecMessageHeader(this.getChannelId());
    }

}
